package com.example.administrator.yuejian_2.interservice;



import com.example.administrator.yuejian_2.bean.ActivityDetailBean;
<<<<<<< HEAD
import com.example.administrator.yuejian_2.bean.ActivityPicBean;
import com.example.administrator.yuejian_2.bean.ActivitySearchBean;
=======
>>>>>>> b079ae49aea3652b48f9c84201c89333c2f216f2
import com.example.administrator.yuejian_2.bean.ActivitylistBean;

import java.util.List;

import retrofit2.Call;
import retrofit2.http.POST;
import retrofit2.http.Query;

/**
 * Created by Administrator on 2017/9/27.
 */

public interface ActivityService {
    @POST("activity/activitylist")
    Call<List<ActivitylistBean>> activitylist();

    @POST("activity/getactivity")
    Call<ActivityDetailBean> getactivity(@Query("aid") int aid);

<<<<<<< HEAD
    @POST("activity/searchactivity")
    Call<List<ActivitySearchBean>> searchactivity(@Query("a_name") String aname);

    @POST("activity/activitypic")
    Call<List<ActivityPicBean>> activitypic();
=======



>>>>>>> b079ae49aea3652b48f9c84201c89333c2f216f2
}
